package com.lex.entity.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(name = "LoginUserInfo", description = "登录后获取用户信息实体类")
public class LoginUserInfoVo {
    @Schema(description = "用户名")
    private String username;
    @Schema(description = "真实姓名")
    private String realName;
    @Schema(description = "用户id")
    private Long userId;
    @Schema(description = "头像")
    private String avatar;
    @Schema(description = "手机号")
    private String phoneNum;
    @Schema(description = "角色信息")
    private List<RoleInfoVo> roles;
}
